NAME
	GU_FindNode -- Find the node structure of a given node number

   SYNOPSIS
	node = GU_FindNode(list, number)
	D0,A0,SR(Z)        A0    D0

	struct Node *GU_FindNode(struct List *, WORD);

   FUNCTION
	Finds a specified node in a list.

   INPUTS
	list   - Struct List. The list in where to search.
	number - Number of the node to find (counting from 0).

   RESULT
	node  - Address to the node structure or NULL if the node wasn't
	        existing.

	SR(Z) - 0 for success, 1 for failure.

   BUGS
	none known

   SEE ALSO
	GU_AddTail(), GU_ClearList(), GU_DetachList(), GU_AttachList()
	GU_NodeUp(), GU_NodeDown(), GU_CountNodes(), GU_NewList(), GU_SortList()


[Main] [Previous] [Next]

Converted on 19 Jul 1996 with RexxDoesAmigaGuide2HTML by Michael Ranner.